home *** CD-ROM | disk | FTP | other *** search
/ Columbia Kermit / kermit.zip / newsgroups / misc.19960425-19960715 / 000239_news@columbia.edu _Sat Jun 15 04:22:50 1996.msg < prev    next >
Internet Message Format  |  2020-01-01  |  2KB

  1. Return-Path: news@columbia.edu
  2. Received: from apakabar.cc.columbia.edu (apakabar.cc.columbia.edu [128.59.35.159]) by watsun.cc.columbia.edu (8.7.5/8.7.3) with ESMTP id EAA19100 for <kermit.misc@watsun>; Sat, 15 Jun 1996 04:22:49 -0400 (EDT)
  3. Received: (from news@localhost) by apakabar.cc.columbia.edu (8.7.5/8.7.3) id EAA14769 for kermit.misc@watsun; Sat, 15 Jun 1996 04:22:47 -0400 (EDT)
  4. Path: news.columbia.edu!lamont.ldeo.columbia.edu!news.er.usgs.gov!stc06.ctd.ornl.gov!fnnews.fnal.gov!unixhub!lll-winken.llnl.gov!nntp.coast.net!harbinger.cc.monash.edu.au!sol.ccs.deakin.edu.au!usenet
  5. From: "Robin Stephens" <rmstephe@deakin.edu.au>
  6. Newsgroups: comp.protocols.kermit.misc
  7. Subject: Re: output command not working
  8. Date: Sat, 15 Jun 1996 15:33:43 +1000
  9. Organization: Integritas
  10. Lines: 58
  11. Message-ID: <01bb5a7d.c2679240$0f02000a@rana.deakin.edu.au>
  12. References: <01bb59a9.369fad80$9606848b@rmstephe.deakin.edu.au> <4prqns$jh3@apakabar.cc.columbia.edu>
  13. NNTP-Posting-Host: juno.ccs.deakin.edu.au
  14. X-Newsreader: Microsoft Internet News 4.70.1080
  15.  
  16.  
  17.  
  18. > : 
  19. > : set file type binary
  20. > : cd \rm53\download
  21. > : 
  22. > : set input case ignore
  23. > : set output pacing 100
  24. > : 
  25. > : set com4 \x02e8 \5
  26. > : set port 4
  27. > : set speed 19200
  28. > : set flow xon/xoff 
  29. > : set term type vt100
  30. > : set term bytesize 8
  31. > : 
  32. > : :LOOP
  33. > : input 5 login:
  34. > : if SUCCESS forward OK
  35. > : output \13
  36. > : goto LOOP
  37. > : end 1 {no login prompt}
  38. > : :OK
  39. > : output xxxx\13
  40. > : input 5 ssword:
  41. > : if fail end 1 {no password prompt}
  42. > : output xxxx\13
  43. > : 
  44. > Assuming this is MS-DOS Kermit trying to log in to a UNIX system, and
  45.  
  46. correct
  47.  
  48. > the dialog is:
  49. > login: xxxx <carriage return>
  50. > Password: xxxx <carriage return>
  51.  
  52. user name and password x'ed out for posting but otherwise correct.
  53.  
  54. > Why isn't it working?  The script looks right.  Maybe the dialog is not
  55. > what you assumed?  Maybe 5 seconds isn't long enough for the password to
  56.  
  57. I tested the dialog from the keyboard first.
  58.  
  59. > appear.  Maybe the real script is not the same as the sample one shown
  60. above.
  61. > You'll have to debug it yourself.  Use "set input echo on" to watch what
  62. > is happening.  Maybe also "set take echo on" and/or "log session".
  63.  
  64. tried that and the script got to "login:", waited 5 seconds before the
  65. "no password prompt appeared.  The log file contained only text up to
  66. "login:" after I tried "log session.
  67.  
  68. Regards
  69.  
  70. Robin Stephens